<%--
  Created by IntelliJ IDEA.
  User: 若兮
  Date: 2021/12/26
  Time: 21:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>调整申请</title>
    <link href="layui/css/layui.css" rel="stylesheet">
</head>
<body class="layui-anim layui-anim-downbit">
<form class="layui-form" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">员工号</label>
        <div class="layui-input-block">
            <input type="text" id="eno" name="eno" lay-verify="title" lay-reqtext="必填项，岂能为空？" autocomplete="off"
                   class="layui-input">
            <a type="button" class="layui-btn" href="${pageContext.request.contextPath}/showEmpChangeByEno"
               style="text-decoration: none">查询
            </a>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">员工姓名</label>
        <div class="layui-input-block">
            <input type="text" id="ename" name="ename" value="" lay-verify="title" lay-reqtext="必填项，岂能为空？" readonly
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">员工当前职位</label>
        <div class="layui-input-block">
            <input type="text" id="job" name="job" lay-reqtext="必填项，岂能为空？" readonly lay-verify="much" autocomplete="off"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">薪资等级</label>
        <div class="layui-input-block">
            <input type="text" id="wages" name="wages" readonly lay-reqtext="必填项，岂能为空？" lay-verify="wage"
                   autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">岗位更换理由</label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" id="reason" name="reason" lay-verify="xq"
                      lay-reqtext="必填项，岂能为空？"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">更换岗位</label>
        <div class="layui-input-block">
            <select name="jobs" id="jobs" lay-verify="required" lay-filter="aihao">
                <option value=""></option>
                <c:forEach items="${sessionScope.list}" var="pp">
                    <option value="${pp.gname}">${pp.gname}</option>
                </c:forEach>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" id="sub" class="layui-btn" lay-submit="" lay-filter="test">立即提交</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="js/jquery-3.6.0.js"></script>
<script type="text/javascript" src="layui/layui.js"></script>
</body>
</html>
